package com.gopay.common.domain.bis;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.gopay.common.domain.BaseEntity;


/** 商户--银行产品大小额配置表
 * @ClassName: ProductLimitMerchants 
 * @author w_jiqing 
 * @date 2017年4月26日 下午2:02:12  
 */ 
@Entity
@Table(name = "BIS_PRODUCT_LIMIT_MERCHANTS")
public class BisProductLimitMerchants extends BaseEntity{
    
    private static final long serialVersionUID = -903935238595732518L;

    /**
     * 流水号
     */
    @Id
    @Column(name = "SQ")
    @SequenceGenerator(name="BIS_PRODUCT_LIMIT_MERCHANTS_SQ_GENERATOR", sequenceName="BIS_PRODUCT_LIMIT_MER_SEQ")
    @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="BIS_PRODUCT_LIMIT_MERCHANTS_SQ_GENERATOR")
    private int sq;
    
    /**
     * 商户号
     */
    @Column(name = "MER_ID", unique = true, nullable = false)
    private String merId;
    /**
     * 商户名称
     */
    @Column(name = "MER_NAME")
    private String merName;
    
    /**
     * 银行代码
     */
    @Column(name = "GOPAY_BANK_CODE")
    private String bankCode;
    
    /**
     * 银行业务产品代码BANK_BIZ_PROD_CODE
     */
    @Column(name = "BANK_BIZ_PROD_CODE")
    private String bankBizProdCode;
    
    /**
     * 额度类型 0-小额     1-大额
     */
    @Column(name = "LIMIT_TYPE")
    private String limitType;
    /**
     * 是否生效   0失效 1生效
     */
    @Column(name = "ENABLE")
    private String enable;
    /**
     * 创建时间
     */
    @Column(name = "CREATED_TS")
    private Date createTime;
    /**
     * 修改时间
     */
    @Column(name = "LAST_UPD_TS")
    private Date lastUpdateTime;
    /**
     * 预留字段
     */
    @Column(name = "REMARK")
    private String remark;
    
    /**
     * 创建操作员
     */
    @Column(name = "OPERATER")
    private String operater;
    
    /**
     * 更改操作员
     */
    @Column(name = "last_OPERATER")
    private String lastOperater;
    
    public String getMerId() {
        return merId;
    }
    public void setMerId(String merId) {
        this.merId = merId;
    }
    public String getMerName() {
        return merName;
    }
    public void setMerName(String merName) {
        this.merName = merName;
    }
    public String getBankBizProdCode() {
        return bankBizProdCode;
    }
    public void setBankBizProdCode(String bankBizProdCode) {
        this.bankBizProdCode = bankBizProdCode;
    }
    public String getLimitType() {
        return limitType;
    }
    public void setLimitType(String limitType) {
        this.limitType = limitType;
    }
    public String getEnable() {
        return enable;
    }
    public void setEnable(String enable) {
        this.enable = enable;
    }


    public Date getCreateTime() {
        return createTime;
    }
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }
    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }
    public String getRemark() {
        return remark;
    }
    public void setRemark(String remark) {
        this.remark = remark;
    }
    public String getBankCode() {
        return bankCode;
    }
    public void setBankCode(String bankCode) {
        this.bankCode = bankCode;
    }
    public String getOperater() {
        return operater;
    }
    public void setOperater(String operater) {
        this.operater = operater;
    }

   
    public int getSq() {
        return sq;
    }
    public void setSq(int sq) {
        this.sq = sq;
    }
    public String getLastOperater() {
        return lastOperater;
    }
    public void setLastOperater(String lastOperater) {
        this.lastOperater = lastOperater;
    }
    
    

}
